package com.t.bricks.bussiness.db.entity.remunelog;

import com.t.bricks.bussiness.db.entity.remunelog.base.RemuneLogBase;

/**
 * 薪酬记录'RemuneLog'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class RemuneLog extends RemuneLogBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return RemuneLog
	 */
	public static RemuneLog copy(RemuneLog source) {
		if (null == source) {
			return null;
		}
		
		RemuneLog target = new RemuneLog();
		target.setsId(source.getsId());
		target.setiYear(source.getiYear());
		target.setiMonth(source.getiMonth());
		target.setdDate(source.getdDate());
		target.setsPersonId(source.getsPersonId());
		target.setsName(source.getsName());
		target.setmBasic(source.getmBasic());
		target.setmOtherSubsidy(source.getmOtherSubsidy());
		target.setmPerformance(source.getmPerformance());
		target.setmOvertimePay(source.getmOvertimePay());
		target.setmHolidaySubsidy(source.getmHolidaySubsidy());
		target.setmPension(source.getmPension());
		target.setmMedicalInsurance(source.getmMedicalInsurance());
		target.setmUnempInsurance(source.getmUnempInsurance());
		target.setmProvidentFund(source.getmProvidentFund());
		target.setmIncomeTax(source.getmIncomeTax());
		target.setmLate(source.getmLate());
		target.setiLate(source.getiLate());
		target.setmSickLeave(source.getmSickLeave());
		target.setiSickLeave(source.getiSickLeave());
		target.setmMakeLeave(source.getmMakeLeave());
		target.setiMakeLeave(source.getiMakeLeave());
		target.setiAnnualLeave(source.getiAnnualLeave());
		target.setiRest(source.getiRest());
		target.setsBankcard(source.getsBankcard());
		target.setsBank(source.getsBank());
		target.setsBankAddress(source.getsBankAddress());
		target.setsMemo(source.getsMemo());
		target.setsCreator(source.getsCreator());
		target.setdCreateDate(source.getdCreateDate());
		target.setsModifieder(source.getsModifieder());
		target.setdModifiedDate(source.getdModifiedDate());
		target.setiState(source.getiState());
		target.setiIndex(source.getiIndex());
		target.setiVersion(source.getiVersion());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return RemuneLog
	 */
	@Override
	public RemuneLog clone() {
		return copy(this);
	}
	
}
